package team.freeroom.hotelmanage.repository.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import team.freeroom.hotelmanage.repository.entity.Floor;
import java.util.List;
import java.util.Map;

/**
 * 楼层 Mapper
 */
@Mapper
@Repository
public interface FloorMapper {
    int add(Floor floor);
    int edit(Floor floor);
    int delete(Long id);
    List<Floor> findList(Map<String, Object> queryMap);
    List<Floor> findAll();
    Integer getTotal(Map<String, Object> queryMap);
}
